package com.briup.smartlabs.mapper;

import com.briup.smartlabs.bean.SysUser;
import com.briup.smartlabs.bean.ex.RoleUserERx;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface SysUserMapper {
    int deleteByPrimaryKey(Long userId);

    int insert(SysUser record);

    SysUser selectByPrimaryKey(Long userId);

    List<SysUser> selectAll();

    int updateByPrimaryKey(SysUser record);
    RoleUserERx selectRoleUserERxByUserId(Long userId);
}